home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Software Dispatch
/
Apple Software Dispatch.iso
/
Software Dispatch Files
/
Resolve
/
Sample Application
/
Sample Application.rsrc
/
CODE_54_SSREPAINT.txt
< prev
next >
Wrap
Text File
|
1993-07-15
|
14KB
|
243 lines
# near model CODE resource
# jump table entries: 10552-10552 (1 of them)
export_1319:
00000000 4E56 FFE2 link A6, -0x001E
00000004 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000008 3A2E 000E move.w D5, [A6 + 0xE]
0000000C 4247 clr.w D7
0000000E 4244 clr.w D4
00000010 3C2D EA58 move.w D6, [A5 - 0x15A8]
00000014 3B7C 0001 EA58 move.w [A5 - 0x15A8], 0x1
0000001A 206E 0008 movea.l A0, [A6 + 0x8]
0000001E 52AE 0008 addq.l [A6 + 0x8], 1
00000022 1010 move.b D0, [A0]
00000024 6500 0220 bcs +0x222 /* 00000246 */
00000028 0C00 0007 cmpi.b D0, 0x7
0000002C 6200 0218 bhi +0x21A /* 00000246 */
00000030 7200 moveq.l D1, 0x00
00000032 1200 move.b D1, D0
00000034 D241 add.w D1, D1
00000036 323B 1006 move.w D1, [PC + D1.w + 0x6]
0000003A 4EFB 1000 jmp [PC + D1.w]
0000003E 0012 0030 ori.b [A2], 0x30 /* '0' */
00000042 0030 007E 00D8 ori.b [A0 + D0.w - 0x40], 0x7E /* '~' */
00000048 0102 btst D2, D0
0000004A 0120 btst -[A0], D0
0000004C 0130 4A46 btst [A0 + D4 * 2 + 0x46], D0
00000050 660A bne +0xC /* 0000005C */
00000052 206E 0008 movea.l A0, [A6 + 0x8]
00000056 4A10 tst.b [A0]
00000058 6702 beq +0x4 /* 0000005C */
0000005A 7801 moveq.l D4, 0x01
label0000005C:
0000005C 206E 0008 movea.l A0, [A6 + 0x8]
00000060 7000 moveq.l D0, 0x00
00000062 1010 move.b D0, [A0]
00000064 3C00 move.w D6, D0
00000066 5247 addq.w D7, 1
00000068 6000 01DC bra +0x1DE /* 00000246 */
0000006C 286D E9E2 movea.l A4, [A5 - 0x161E]
00000070 603C bra +0x3E /* 000000AE */
label00000072:
00000072 2F0C move.l -[A7], A4
00000074 4EAD 076A jsr [A5 + 0x76A /* export_233 */]
00000078 41EC 0172 lea.l A0, [A4 + 0x172]
0000007C 2F20 move.l -[A7], -[A0]
0000007E 2F20 move.l -[A7], -[A0]
00000080 4EAD 0B6A jsr [A5 + 0xB6A /* export_361 */]
00000084 4A6C 018A tst.w [A4 + 0x18A]
00000088 4FEF 000C lea.l A7, [A7 + 0xC]
0000008C 660E bne +0x10 /* 0000009C */
0000008E 41EC 0328 lea.l A0, [A4 + 0x328]
00000092 2F20 move.l -[A7], -[A0]
00000094 2F20 move.l -[A7], -[A0]
00000096 4EAD 0B6A jsr [A5 + 0xB6A /* export_361 */]
0000009A 508F addq.l A7, 8
label0000009C:
0000009C 7E01 moveq.l D7, 0x01
0000009E 206E 0008 movea.l A0, [A6 + 0x8]
000000A2 7002 moveq.l D0, 0x02
000000A4 B028 FFFF cmp.b D0, [A0 - 0x1]
000000A8 6708 beq +0xA /* 000000B2 */
000000AA 286C 0164 movea.l A4, [A4 + 0x164]
label000000AE:
000000AE 200C move.l D0, A4
000000B0 66C0 bne -0x3E /* 00000072 */
label000000B2:
000000B2 4EAD 0B52 jsr [A5 + 0xB52 /* export_358 */]
000000B6 6000 018E bra +0x190 /* 00000246 */
000000BA 4A45 tst.w D5
000000BC 6600 0188 bne +0x18A /* 00000246 */
000000C0 486E FFE6 pea.l [A6 - 0x1A]
000000C4 486E 0008 pea.l [A6 + 0x8]
000000C8 4EAD 0BF2 jsr [A5 + 0xBF2 /* export_378 */]
000000CC 3E00 move.w D7, D0
000000CE 508F addq.l A7, 8
000000D0 6700 0174 beq +0x176 /* 00000246 */
000000D4 4878 0107 push.l 0x107
000000D8 7000 moveq.l D0, 0x00
000000DA 2F00 move.l -[A7], D0
000000DC 322E FFEC move.w D1, [A6 - 0x14]
000000E0 48C1 ext.l D1
000000E2 2F01 move.l -[A7], D1
000000E4 322E FFEA move.w D1, [A6 - 0x16]
000000E8 48C1 ext.l D1
000000EA 2F01 move.l -[A7], D1
000000EC 322E FFE8 move.w D1, [A6 - 0x18]
000000F0 48C1 ext.l D1
000000F2 2F01 move.l -[A7], D1
000000F4 322E FFE6 move.w D1, [A6 - 0x1A]
000000F8 48C1 ext.l D1
000000FA 2F01 move.l -[A7], D1
000000FC 2F2E FFEE move.l -[A7], [A6 - 0x12]
00000100 4EAD 14AA jsr [A5 + 0x14AA /* export_657 */]
00000104 7001 moveq.l D0, 0x01
00000106 2F00 move.l -[A7], D0
00000108 4EAD 14BA jsr [A5 + 0x14BA /* export_659 */]
0000010C 4FEF 0020 lea.l A7, [A7 + 0x20]
00000110 6000 0134 bra +0x136 /* 00000246 */
00000114 4A45 tst.w D5
00000116 6600 012E bne +0x130 /* 00000246 */
0000011A 7002 moveq.l D0, 0x02
0000011C 2F00 move.l -[A7], D0
0000011E 4878 7FFF push.l 0x7FFF
00000122 7200 moveq.l D1, 0x00
00000124 2F01 move.l -[A7], D1
00000126 4878 7FFF push.l 0x7FFF
0000012A 2F01 move.l -[A7], D1
0000012C 2F2D B9FC move.l -[A7], [A5 - 0x4604]
00000130 4EAD 150A jsr [A5 + 0x150A /* export_669 */]
00000134 5247 addq.w D7, 1
00000136 4FEF 0018 lea.l A7, [A7 + 0x18]
0000013A 6000 010A bra +0x10C /* 00000246 */
0000013E 206E 0008 movea.l A0, [A6 + 0x8]
00000142 4A10 tst.b [A0]
00000144 6708 beq +0xA /* 0000014E */
00000146 006D 0008 BD00 ori.w [A5 - 0x4300], 0x8
0000014C 6006 bra +0x8 /* 00000154 */
label0000014E:
0000014E 026D FFF7 BD00 andi.w [A5 - 0x4300], 0xFFF7
label00000154:
00000154 7E01 moveq.l D7, 0x01
00000156 3C07 move.w D6, D7
00000158 6000 00EC bra +0xEE /* 00000246 */
0000015C 206E 0008 movea.l A0, [A6 + 0x8]
00000160 7000 moveq.l D0, 0x00
00000162 1010 move.b D0, [A0]
00000164 3B40 EA56 move.w [A5 - 0x15AA], D0
00000168 6000 00DC bra +0xDE /* 00000246 */
0000016C 4A45 tst.w D5
0000016E 6600 00D6 bne +0xD8 /* 00000246 */
00000172 6000 00B2 bra +0xB4 /* 00000226 */
label00000176:
00000176 206D B9FC movea.l A0, [A5 - 0x4604]
0000017A 2668 03D2 movea.l A3, [A0 + 0x3D2]
0000017E 6000 00A0 bra +0xA2 /* 00000220 */
label00000182:
00000182 206B 0010 movea.l A0, [A3 + 0x10]
00000186 2028 0010 move.l D0, [A0 + 0x10]
0000018A B0AE FFE2 cmp.l D0, [A6 - 0x1E]
0000018E 6600 008C bne +0x8E /* 0000021C */
00000192 206D B9FC movea.l A0, [A5 - 0x4604]
00000196 4A68 01B6 tst.w [A0 + 0x1B6]
0000019A 6776 beq +0x78 /* 00000212 */
0000019C 206B 0010 movea.l A0, [A3 + 0x10]
000001A0 7002 moveq.l D0, 0x02
000001A2 B068 0020 cmp.w D0, [A0 + 0x20]
000001A6 666A bne +0x6C /* 00000212 */
000001A8 206B 0010 movea.l A0, [A3 + 0x10]
000001AC 2068 002A movea.l A0, [A0 + 0x2A]
000001B0 700A moveq.l D0, 0x0A
000001B2 B028 004C cmp.b D0, [A0 + 0x4C]
000001B6 665A bne +0x5C /* 00000212 */
000001B8 206D B9FC movea.l A0, [A5 - 0x4604]
000001BC 43EE FFF2 lea.l A1, [A6 - 0xE]
000001C0 41E8 032E lea.l A0, [A0 + 0x32E]
000001C4 22D8 move.l [A1]+, [A0]+
000001C6 22D8 move.l [A1]+, [A0]+
000001C8 22D8 move.l [A1]+, [A0]+
000001CA 32D8 move.w [A1]+, [A0]+
000001CC 206D B9FC movea.l A0, [A5 - 0x4604]
000001D0 7000 moveq.l D0, 0x00
000001D2 2140 032E move.l [A0 + 0x32E], D0
000001D6 206D B9FC movea.l A0, [A5 - 0x4604]
000001DA 216B 0010 0332 move.l [A0 + 0x332], [A3 + 0x10]
000001E0 206D B9FC movea.l A0, [A5 - 0x4604]
000001E4 214B 0336 move.l [A0 + 0x336], A3
000001E8 206D B9FC movea.l A0, [A5 - 0x4604]
000001EC 317C 0003 033A move.w [A0 + 0x33A], 0x3
000001F2 2F00 move.l -[A7], D0
000001F4 2F00 move.l -[A7], D0
000001F6 4EAD 16DA jsr [A5 + 0x16DA /* export_727 */]
000001FA 206D B9FC movea.l A0, [A5 - 0x4604]
000001FE 41E8 032E lea.l A0, [A0 + 0x32E]
00000202 43EE FFF2 lea.l A1, [A6 - 0xE]
00000206 20D9 move.l [A0]+, [A1]+
00000208 20D9 move.l [A0]+, [A1]+
0000020A 20D9 move.l [A0]+, [A1]+
0000020C 30D9 move.w [A0]+, [A1]+
0000020E 508F addq.l A7, 8
00000210 600A bra +0xC /* 0000021C */
label00000212:
00000212 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000216 4EAD 183A jsr [A5 + 0x183A /* export_771 */]
0000021A 588F addq.l A7, 4
label0000021C:
0000021C 266B 001A movea.l A3, [A3 + 0x1A]
label00000220:
00000220 200B move.l D0, A3
00000222 6600 FF5E bne -0xA0 /* 00000182 */
label00000226:
00000226 206E 0008 movea.l A0, [A6 + 0x8]
0000022A 52AE 0008 addq.l [A6 + 0x8], 1
0000022E 4A10 tst.b [A0]
00000230 6714 beq +0x16 /* 00000246 */
00000232 486E FFE2 pea.l [A6 - 0x1E]
00000236 486E 0008 pea.l [A6 + 0x8]
0000023A 4EAD 0C02 jsr [A5 + 0xC02 /* export_380 */]
0000023E 3E00 move.w D7, D0
00000240 508F addq.l A7, 8
00000242 6600 FF32 bne -0xCC /* 00000176 */
label00000246:
00000246 3B46 EA58 move.w [A5 - 0x15A8], D6
0000024A 4A44 tst.w D4
0000024C 675E beq +0x60 /* 000002AC */
0000024E 4AAD B9FC tst.l [A5 - 0x4604]
00000252 6758 beq +0x5A /* 000002AC */
00000254 206D B9FC movea.l A0, [A5 - 0x4604]
00000258 4A68 033A tst.w [A0 + 0x33A]
0000025C 664E bne +0x50 /* 000002AC */
0000025E 206D BA78 movea.l A0, [A5 - 0x4588]
00000262 2668 025A movea.l A3, [A0 + 0x25A]
00000266 6040 bra +0x42 /* 000002A8 */
label00000268:
00000268 302B 0018 move.w D0, [A3 + 0x18]
0000026C B06D BA7E cmp.w D0, [A5 - 0x4582]
00000270 6632 bne +0x34 /* 000002A4 */
00000272 302B 001C move.w D0, [A3 + 0x1C]
00000276 B06D BA7C cmp.w D0, [A5 - 0x4584]
0000027A 6628 bne +0x2A /* 000002A4 */
0000027C 7000 moveq.l D0, 0x00
0000027E 2F00 move.l -[A7], D0
00000280 2F00 move.l -[A7], D0
00000282 322D BA7C move.w D1, [A5 - 0x4584]
00000286 48C1 ext.l D1
00000288 2F01 move.l -[A7], D1
0000028A 322D BA7E move.w D1, [A5 - 0x4582]
0000028E 48C1 ext.l D1
00000290 2F01 move.l -[A7], D1
00000292 2F3C 0000 C18B move.l -[A7], 0xC18B
00000298 2F2D B9FC move.l -[A7], [A5 - 0x4604]
0000029C 4EAD 10A2 jsr [A5 + 0x10A2 /* export_528 */]
000002A0 4FEF 0018 lea.l A7, [A7 + 0x18]
label000002A4:
000002A4 266B 0026 movea.l A3, [A3 + 0x26]
label000002A8:
000002A8 200B move.l D0, A3
000002AA 66BC bne -0x42 /* 00000268 */
label000002AC:
000002AC 3007 move.w D0, D7
000002AE 4CEE 18F0 FFCA movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x36]
000002B4 4E5E unlink A6
000002B6 4E75 rts